﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AviumX.AviumCore.Screen.Graphics
{
    class Pixel
    {
        //Holds Pixel Values.
        public Color ColorData;
        // This is the pixels location. Which will most likely not be used.
        public Vector Location;

        public Pixel(Color color, Vector location)
        {
            this.ColorData = color;
            this.Location = location;
        }
        public Pixel(Color color)
        {
            this.ColorData = color;
        }
        public Pixel()
        {
            //Leave Blank.
        }
        public void GetColorsFromScreen()
        {
            ColorData = Screen.CreateScreen.TheScreen.GetColor(Location.x, Location.y);
        }
    }
}
